home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-11-30 | 1.4 KB | 45 lines | [TEXT/MPS ] |
- ; File: Menus.a
- ;
- ; Copyright: © 1983-1993 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: System 7.1 for ETO #11
- ; Created: Tuesday, March 30, 1993 18:00
- ;
- ;___________________________________________________________________________
-
- IF &TYPE('__INCLUDINGMENUS__') = 'UNDEFINED' THEN
- __INCLUDINGMENUS__ SET 1
-
- IF &TYPE('__INCLUDINGTRAPS__') = 'UNDEFINED' THEN
- INCLUDE 'Traps.a'
- ENDIF
- ;————————————————————————————————————————————————————————————————————————————————————————————————————
- ; Define the Menu Manager Dispatch trap opword
- _MenuDispatch OPWORD $A825
-
- ;————————————————————————————————————————————————————————————————————————————————————————————————————
- ; Define the new selectors for the Menu Manager
- selectInsertFontResMenu EQU 0
- selectInsertIntlResMenu EQU 1
-
- ;————————————————————————————————————————————————————————————————————————————————————————————————————
- ; Define the parameter size passed for each call
- paramWordsInsertFontResMenu EQU 4
- paramWordsInsertIntlResMenu EQU 6
-
- ;————————————————————————————————————————————————————————————————————————————————————————————————————
- ; Define the dispatch macros to get to the calls
-
- MACRO
- _InsertFontResMenu
- DoDispatch _MenuDispatch,selectInsertFontResMenu,paramWordsInsertFontResMenu
- ENDM
-
- MACRO
- _InsertIntlResMenu
- DoDispatch _MenuDispatch,selectInsertIntlResMenu,paramWordsInsertIntlResMenu
- ENDM
-
- ENDIF ; Already included
-